package com.service.dao.enums;

import com.google.common.collect.Lists;
import lombok.Getter;

import java.util.List;

/**
 * <dl>
 * <dt>back-end</dt>
 * <dd>Description:</dd>
 * <dd>Copyright: Copyright (C) 2015</dd>
 * <dd>Company: </dd>
 * <dd>CreateDate: 2019年11月16日</dd>
 * </dl>
 *
 * @author
 */
public enum GradeEnum {

    one(1, "游客"),
    two(2, "业务员"),
    three(3, "代理商"),
    four(4, "经销商"),
    five(5, "总代"),
    six(6, "合伙人"),
    seven(7, "超级社区"),
    eight(8, "特级社区"),
    eleven(11, "游客"),
    twelve(12, "普通会员"),
    thirteen(13, "代理商"),
    fourteen(14, "分公司"),
    fifteen(15, "中级社区"),
    sixteen(16, "高级社区"),
    seventeen(17, "超级社区"),
    eighteen(18, "特级社区"),
    ;

    @Getter
    private Integer value;

    @Getter
    private String msg;

    GradeEnum(Integer value, String msg) {
        this.value = value;
        this.msg = msg;
    }

//    public static List<Integer> getStarGrade(){
//        return Lists.newArrayList(three.value,four.value,five.value,six.value,seven.value,
//                thirteen.value,fourteen.value,fifteen.value,sixteen.value,seventeen.value);
//    }

//    public static List<Integer> getLeaderGrade(){
//        return Lists.newArrayList(seven.value, seventeen.value);
//    }

    public static List<Integer> getProxAndComGrade(){
        return Lists.newArrayList(three.value,four.value,
                thirteen.value,fourteen.value);
    }

}
